The following tables list the members exposed by DictionaryWithEvents<TKey,TValue>.
Public Constructors
Name | Description | |
---|---|---|
DictionaryWithEvents<TKey,TValue> | Initializes a new instance of the DictionaryWithEvents<TKey,TValue>. |
Public Methods
Name | Description | |
---|---|---|
Add | Adds the specified key and value to the dictionary. | |
Clear | Removes all keys and values from the DictionaryWithEvents<TKey,TValue>. | |
Contains | Determines whether the IDictionary contains an element with the specified item. | |
ContainsKey | Determines whether the DictionaryWithEvents<TKey,TValue> contains the specified key. | |
CopyTo | Copies the elements of the ICollection to an array of type KeyValuePair, starting at the specified array index. | |
GetEnumerator | Returns an enumerator that iterates through the DictionaryWithEvents<TKey,TValue>. | |
Remove | Removes the value with the specified key from the DictionaryWithEvents<TKey,TValue>. | |
TryGetValue | Gets the value associated with the specified key. |
Protected Methods
Name | Description | |
---|---|---|
OnItemAdded | Raises the ItemAdded event. | |
OnItemRemoved | Raises the ItemRemoved event. | |
OnItemUpdated | Raises the ItemUpdated event. |
Public Properties
Name | Description | |
---|---|---|
Count | Gets the number of key/value pairs contained in the DictionaryWithEvents<TKey,TValue>. | |
IsReadOnly | Gets a value indicating whether the dictionary is read-only. | |
Item | Gets or sets the value associated with the specified key. | |
Keys | Gets a collection containing the keys in the DictionaryWithEvents<TKey,TValue>. | |
Values | Gets a collection containing the values in the DictionaryWithEvents<TKey,TValue>. |
Public Events
Name | Description | |
---|---|---|
ItemAdded | Occurs when an item is added into the DictionaryWithEvents<TKey,TValue>. | |
ItemRemoved | Occurs when an item is removed from the DictionaryWithEvents<TKey,TValue>. | |
ItemUpdated | Occurs when an item in the DictionaryWithEvents<TKey,TValue> is updated. |
See Also
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document